package cn.itcast.mybatis.dao;

import cn.itcast.mybatis.po.User;

import java.util.List;

/**
 * Created by Administrator on 2018/3/27.
 */
public interface UserDao {
    User findUserById(int id);
    List<User> findUserByName(String username);
    void insertUser(User user);
}